<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <include file="./Public/Admin/header.html" />
    <style>
        /*#loading {width:100%;height:100%;display:none;position:fixed;top:0px;left:0px;background:url('data/images/load.gif') no-repeat center; background-size:2%;background-color:rgba(0, 0, 0, 0.75);z-index:10000000;}*/
    </style>
</head>
<body>
<div id="main">
    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span12">
                <div class="box">
                    <div class="box-title">
                        <div class="span4">
                            <h3><i class="icon-table"></i>业主管理</h3>
                        </div>
                        <div class="btn-group pull-right clearfix ">

                        </div>
                    </div>
                    <div class="box-content">
                        <div class="row-fluid" style="margin-bottom: 10px;">
                            <form action="{:U('Admin/Wechat/owners')}" method="get" class="form-horizontal" style="margin: 0px;">
                                <input type="text" id="keyword" name="keyword" value="{$keyword}" placeholder="请输入姓名、电话或身份证查询" data-rule-required="true" />

                                <button class="btn" id="btn_search">查询</button>
                            </form>
                        </div>
                        <div class="row-fluid dataTables_wrapper">
                            <table id="listTable" class="table table-bordered table-hover  dataTable">
                                <thead>
                                <tr>
                                    <th class='with-checkbox'><input type="checkbox" class="check_all" /></th>
                                    <th>姓名</th>
                                    <th>电话</th>
                                    <th>身份证</th>
                                    <th>房源信息</th>
                                </tr>
                                </thead>
                                <tbody>
                                <foreach name="users" item="item">
                                    <tr>
                                        <td class="with-checkbox">
                                            <input type="checkbox" name="check" value="{$item.openid}">
                                        </td>
                                        <td>{$item.uname}</td>
                                        <td>{$item.phone}</td>
                                        <td>{$item.idcard}</td>
                                        <td>{$item.buname}{$item.bldfullname}{$item.room}</td>
                                    </tr>
                                </foreach>
                                <if condition="$total==0">
                                    <tr><td align="center" colspan="10">暂无记录</td></tr>
                                </if>

                                </tbody>
                            </table>
                            <div class="row-fluid">
                                <div class="span4">
                                    <div class="dataTables_info">
                                        <if condition="$total gt 0">
                                            共{$total}条记录，当前第{$nowPage}/{$totalPages}页
                                        </if>
                                    </div>
                                </div>
                                <div class="span8">
                                    <div class="dataTables_paginate paging_full_numbers">
                                        <span>
                                            {$page}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
</body>
</html>
